<div class="service-form-container">
    <div class="panel"><div class="panel-body"><service-config-base/></div></div>
    <div class="panel no-padding" ng-if="!service.versionId"><div class="panel-body"><service-config-advance/></div></div>
</div>
<div class="panel-form-footer">
    <a ui-sref="app-service-detail({id: service._fData.app.id})" class="btn btn-default btn-sm">取消</a>
    <button type="button" ng-disabled="service.loading" ng-click="service.next()" class="btn btn-primary btn-sm pull-right">
        <i ng-show="service.loading" class="fa fa-cog fa-lg fa-spin margin-right-5"/>下一步
    </button>
    <div class="pull-right margin-right-30" style="line-height: 30px">
        <span class="text-danger">{{(service.baseCtrl.baseForm.$invalid && '请填写正确的配置') ||
                        (service.advCtrl.autoScaleForm.$invalid && '自动伸缩有误') ||
                        (service.advCtrl.domainForm.$invalid && '域名管理有误') || ''}}</span>
    </div>
</div>